package org.jeecg.modules.engineering.vo;

import java.util.List;
import org.jeecg.modules.engineering.entity.EquipCollectItemDetail;
import org.jeecg.modules.engineering.entity.EquipCollectTrigger;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

/**
 * @Description: 每个小区的采集项
 * @Author: jeecg-boot
 * @Date:   2019-09-12
 * @Version: V1.0
 */
@Data
public class EquipCollectItemDetailPage {
	
	/**id*/
	private String id;
	/**租户id*/
  	@Excel(name = "租户id", width = 15)
	private Integer tenantId;
	/**所属小区*/
  	@Excel(name = "所属小区", width = 15)
	private String projectId;
	/**采集项id*/
  	@Excel(name = "采集项id", width = 15)
	private String itemId;
	/**是否触发报警 0-不触发 1-触发*/
  	@Excel(name = "是否触发报警 0-不触发 1-触发", width = 15)
	private Integer isTrigger;
	/**创建人*/
  	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**修改人*/
  	@Excel(name = "修改人", width = 15)
	private String updateBy;
	/**修改时间*/
  	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**删除标识0-正常,1-已删除*/
  	@Excel(name = "删除标识0-正常,1-已删除", width = 15)
	private Integer delFlag;
	
	@ExcelCollection(name="设备采集触发事件规则表")
	private List<EquipCollectTrigger> equipCollectTriggerList;
	
}
